home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
logoff7.zip
/
PCBTEST.BAT
< prev
Wrap
DOS Batch File
|
1991-12-22
|
394b
|
23 lines
@echo off
testfile %1 arc zip
if errorlevel == 98 goto end
if errorlevel == 2 goto zip
if errorlevel == 1 goto arc
:zip
pkunzip -t %1 > pcbfail.txt
if errorlevel == 1 goto end
pkzip -z %1 <bbsad.txt
del pcbfail.txt
goto end
:arc
xarc -t %1 > pcbfail.txt
if errorlevel == 1 goto end
del pcbfail.txt
goto end
:end
IF %2==UPLOAD PCBDESC /D %1 %3
copy pcbtest.bat flag.001